import { ApiProperty } from '@nestjs/swagger';

export class GeetestRegisterResDto {
  @ApiProperty({ description: '极验二次验证编号' })
  readonly gt: string;

  @ApiProperty({ description: '极验二次验证表单传参字段' })
  readonly challenge: string;

  @ApiProperty({ description: '用于宕机时表示是新验证码的宕机' })
  readonly new_captcha: string;

  @ApiProperty({ description: 'success为1表示正常模式，为0表示宕机模式' })
  readonly success: number;
}
